
#ifndef PRODUCTION_TASK_H
#define PRODUCTION_TASK_H

#include <cstdlib>
#include <string>

using namespace std;

const static string PRODUCTION_TASK_NAMES[] = {"Doing nothing", 
											   "Building Missile",
											   "Building Shield"};
class ProductionTask {
	public:
		ProductionTask(int pTaskId, int pPowerLevel, int pTimeToComplete);
		bool isCompleted();
		double getTimeToComplete();
		void setTimeToComplete(double pTimeToComplete);
		string getTaskName();
		int getTaskId();
		int getPowerLevel();
		//returns percentage of task completion
		int getProgress();
	private:
		int taskId;
		int timeToComplete;
		int initialTime;
		int powerLevel;
};

#endif